﻿using Castle.Core.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Application.BackgroundJobs
{
    public abstract class BackgroundJob<T> : IBackgroundJob<T>
    {
        public ILogger Logger { get; set; }

        public BackgroundJob()
        {
            Logger = NullLogger.Instance;
        }

        public abstract void Execute(T Args);
    }
}
